package com.lovo.stock.service;

import com.lovo.stock.bean.PurchaseBean;
import com.lovo.stock.bean.PurdetailBean;

import java.util.List;

/**
 * 采购明细服务类
 */
public interface IPurdetailService {

    /**
     * 根据采购信息id查询出采购明细表
     * @param purchaseId 采购信息id
     * @return List<PurdetailBean>
     */
    List<PurdetailBean> queryPurdetailById(int purchaseId);

    /**
     * 添加采购明细
     * @param purchaseBean
     */
    void addPurdetail(PurchaseBean purchaseBean);


}

